import {  get, post } from "../utlis/http.js"

export const siteConfig = {
    //修改Redis配置
    modifyRedis(param){
        return post("/configuration/modify",param)
    },
    //查询Redis配置
    findRedis(param){
        return post("/configuration/find",param)
    },
    //查询Redis配置列表
    redisList(param){
        return post("/configuration/list",param)
    },
    //站点配置 ---  查询基本配置
    findBasicConfig(param){
        return get("/configuration/findBasicConfig",param)
    },
    // 测试连接
    connect(param){
        return post("/configuration/connect",param)
    },
    //站点配置 ---  修改基础配置
    saveBasicConfig(param){
        return post("/configuration/saveBasicConfig",param)
    },
}
